package com.gac.basedownload.model;

import com.litesuits.orm.db.annotation.PrimaryKey;
import com.litesuits.orm.db.enums.AssignType;

public class FileRecord {
    @PrimaryKey(AssignType.BY_MYSELF)
    private String fileId;//文件


    private int threadCount;//线程个数

    private long downloadLen;//下载的长度

    private long fileLen;//下载文件的长度

    private String fileName;//文件名

    private String url;//url

    private String savePath;//保存路径

    public String getFileId() {
        return fileId;
    }

    public void setFileId(String fileId) {
        this.fileId = fileId;
    }

    public int getThreadCount() {
        return threadCount;
    }

    public void setThreadCount(int threadCount) {
        this.threadCount = threadCount;
    }

    public long getDownloadLen() {
        return downloadLen;
    }

    public void setDownloadLen(long downloadLen) {
        this.downloadLen = downloadLen;
    }

    public long getFileLen() {
        return fileLen;
    }

    public void setFileLen(long fileLen) {
        this.fileLen = fileLen;
    }

    public String getFileName() {
        return fileName;
    }

    public void setFileName(String fileName) {
        this.fileName = fileName;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public String getSavePath() {
        return savePath;
    }

    public void setSavePath(String savePath) {
        this.savePath = savePath;
    }
}
